package com.lizemin.monitor.client.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lzm
 * @date 2025/6/8 10:00
 * @description
 */
@RestController
public class MonitorController {

    private static final Logger log = LoggerFactory.getLogger(MonitorController.class);

    @GetMapping("/health")
    public String health() {
        log.trace("health check");
        log.debug("health check");
        log.info("health check");
        log.error("health check");
        return "ok";
    }

}
